package com.tencreat.service.mall.impl;

import cn.hutool.json.JSONConfig;
import cn.hutool.json.JSONObject;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tencreat.common.utils.StringUtils;
import com.tencreat.common.utils.http.HttpUtils;
import com.tencreat.domain.mall.MallGoods;
import lombok.RequiredArgsConstructor;
import org.springframework.transaction.annotation.Transactional;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import com.tencreat.mapper.mall.AppDownloadRecordMapper;
import com.tencreat.domain.mall.AppDownloadRecord;
import com.tencreat.service.mall.IAppDownloadRecordService;

import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * app下载记录Service业务层处理
 *
 * @author tencreat
 * @company: 深圳腾创互联科技有限公司
 * @link: https://tencreat.com
 * @date 2022-12-19
 */
@Service
@Transactional(rollbackFor = Exception.class)
@RequiredArgsConstructor
public class AppDownloadRecordServiceImpl extends ServiceImpl<AppDownloadRecordMapper, AppDownloadRecord> implements IAppDownloadRecordService {

    /**
     * 分页查询
     * @param iPage 分页参数
     * @param appDownloadRecord 查询条件
     * @return 分页结果
     */
    @Override
    public IPage<AppDownloadRecord> page(IPage<AppDownloadRecord> iPage, AppDownloadRecord appDownloadRecord) {
        return baseMapper.page(iPage, appDownloadRecord);
    }



}
